package com.smartleanx.module.hrm.intergration;

import com.smartleanx.module.system.api.notify.NotifyMessageSendApi;
import com.smartleanx.module.system.api.notify.dto.NotifySendSingleToUserReqDTO;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * 站内信
 */
@Component
public class NotifyMessageSendProvider {

    @Resource
    private NotifyMessageSendApi notifyMessageSendApi;

    public Long sendSingleNotify(NotifySendSingleToUserReqDTO reqDTO) {
        return notifyMessageSendApi.sendSingleNotify(reqDTO).getCheckedData();
    }

}
